from flask import Flask,render_template,Blueprint
from flask_migrate import Migrate
from config import Doconfig
from model.model import *
from view.houtilal import houtilal

app = Flask(__name__)

app.register_blueprint(houtilal,url_prefix='/houtilal')

app.config.from_object(Doconfig)

migrate = Migrate()
migrate.init_app(app,db)
db.init_app(app)

if __name__ == '__main__':
    print(app.url_map)
    app.run(host='0.0.0.0',port=9376)

